<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$ts['site']['site_name']}管理后台</title>
<style type="text/css">
<!--
body {
	font-family:arial;
	font-size: 12px;
	background:#a6acba;
	margin: 0px;
}
li{ list-style-type: none;}
ul, form, input { font-size:12px; padding:0; margin:0;}
a { color:#006633;}
a:hover{ color: #cc3300;}
a img { border: none;}
img{ border: 0px;}
.fl { float:left;}
.gm {
	width:435px;
	margin:0 auto;
	margin-top:100px;
}
.gm .la { width:433px; background:#e6e9ee url(../Public/images/login/gm_l_h.gif) repeat-x top; border:1px solid #fff; border-bottom:none; border-top:none;}
.gm .lb { width:176px; height:215px; background:url(../Public/images/login/gm_l_f.gif) no-repeat center center;}
.gm .lc { width:257px; height:215px; background:url(../Public/images/login/gm_l_e.gif) no-repeat top left; color:#5b5d6a;}
.gm .lc ul { padding-left:20px;}
.gm .lc li { float:left; width:237px; line-height:22px;}
.gm .lx { margin-left:24px;}
.ldinput {border:1px solid #c3c6cb; padding:2px;}
.ld { background:url(../Public/images/login/gm_l_b.gif) no-repeat top right;}
.le { background:url(../Public/images/login/gm_l_c.gif) no-repeat top right;}
.lg { background:url(../Public/images/login/gm_l_d.gif) repeat-x;}
.lf {  margin-bottom:13px; }
.lbm { width:435px; height:39px; line-height:22px; color:#f6f4f9; background:url(../Public/images/login/gm_l_i.gif) no-repeat; text-align:center; padding-top:30px;}
-->
</style>

<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>

<script>
function changeverify(){
    var date = new Date();
    var ttime = date.getTime();
    var url = "{:U('home/Public/verify')}";
    $('#verifyimg').attr('src',url+'&'+ttime);
}
</script>

</head>
<body>
<div class="gm">
	<div class="fl"><img src="../Public/images/login/gm_l_a.gif" /></div>
	<div class="la fl">
		<div class="lb fl"></div>
		<div class="lc fl">
            <form action="{:U('home/Public/doAdminLogin')}" name="reg" method="post"  class="nf lf">
			<ul>
				<li><img src="../Public/images/login/gm_l_g.gif" /></li>
				<php>if($uid){</php>
					<li class="lf">名　字：{$uid|getUserName}</li>
				<php>}else{</php>
					<li class="lf">
					   帐　号：
					   <input class="text" onfocus="this.className='text2'" onblur="this.className='text'" type="text" name="email" value="" style="width:128px; height:15px;">
				    </li>
				<php>}</php>
				<li class="lf">
				    密　码：
				    <input class="text" onfocus="this.className='text2'" onblur="this.className='text'" type="password" name="password" value="" style="width:128px; height:15px;">
				</li>
				<li class="lf">
				    验证码：
				    <input class="text" onfocus="this.className='text2'" onblur="this.className='text'" name="verify" value="" style="width:58px; height:15px;">
				    <a href="javascript:void(0);" onclick="changeverify()"><img src="{:U('home/public/verify')}" id="verifyimg" alt="换一张" /></a> 
				</li>
				<li style="height:27px;"><input type="image" onclick="submit();" src="../Public/images/login/gm_l_dl.gif" style="height:27px; width:81px;" /></li>
			</ul>
			</form>
		</div>
	</div>
	<div class="lbm fl">Copyright &copy; 2011 智士软件 版权所有</div>
</div>
</body>
</html>
